package com.huahai.security.core.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: Jun
 * @Date: 2020/7/17
 *
 * Security应用 属性配置类 前缀统一为 huahai.security
 */
@ConfigurationProperties(prefix = "huahai.security")
public class SecurityProperties {

    /**
     * 验证码属性配置类
     */
    private ValidateCodeProperties code = new ValidateCodeProperties();

    /**
     * JWT属性配置类
     */
    private JwtProperties jwt = new JwtProperties();

    public ValidateCodeProperties getCode() {
        return code;
    }

    public void setCode(ValidateCodeProperties code) {
        this.code = code;
    }

    public JwtProperties getJwt() {
        return jwt;
    }

    public void setJwt(JwtProperties jwt) {
        this.jwt = jwt;
    }
}